package com.sxjh.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 内部倒运--车间管理
 * </p>
 *
 * @author guanxy
 * @since 2023-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "车间管理", description = "车间管理")
@TableName("it_workshop")
public class WorkshopEntity extends BaseEntity {

    /**
     * 车间名称
     */
    @ApiModelProperty(value = "车间名称")
    private String name;

    /**
     * 所属位置
     */
    @ApiModelProperty(value = "所属位置")
    private String addr;

    /**
     * 是否启用标记
     */
    @ApiModelProperty(value = "是否启用标记,1:否,-1:是")
    @TableField(value = "activate_flag")
    private Integer activateFlag = -1;

    /**
     * 工厂id
     */
    @ApiModelProperty(value = "工厂id")
    @TableField(value = "factory_id")
    private Integer factoryId;
}
